//
//  HomeController.swift
//  lixiangweibo
//
//  Created by dyy on 15/11/23.
//  Copyright © 2015年 lixianggongzuoshi. All rights reserved.
//

import UIKit
import AFNetworking

class HomeController: BaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
    
        //demo()
    }
    
    override func viewWillAppear(animated: Bool) {
        
    visitorLoginView?.setUpInfo("visitordiscover_feed_image_house", message: "哈哈哈哈啊数据库备份就卡表示可发掘比较卡巴",isHome: true)
    }
    //模拟网络请求
    func demo(){
    
    let AFN = AFHTTPSessionManager()
      
        let urlString = "http://www.weather.com.cn/data/sk/101010100.html"
        
        AFN.GET(urlString, parameters: nil, success: { (task, result) -> Void in
            print(result)
            }) { (task , error) -> Void in
                print(error)
        }
    
    }
    
    


}
